from .base_test import BaseTest
import unittest


class TestA(BaseTest):

    def test_a(self):
        print("TestA方法的测试a")

    def test_b(self):
        print("TestA方法的测试b")

    # @unittest.skip("跳过测试")
    def test_c(self):
        print("TestA方法的测试跳过")

    @unittest.skipIf(1, u"为真跳过测试")
    def test_c(self):
        # self.assertTrue(True)
        self.assertTrue(False)
        print("TestA方法的测试跳过")

    @unittest.skipUnless(0, u"为假跳过测试")
    def test_c(self):
        # self.assertTrue(False)
        self.assertTrue(True)
        print("TestA方法的测试跳过")

if __name__ == '__main__':
    unittest.main()